﻿
using IQIGame.Onigao.Framework;
using IQIGame.Onigao.Game;
using IQIGame.Onigao.GamePlay;
using System.Diagnostics;
using UnityEditor;

/// <summary>
/// 可以在runtime写测试代码，然后热重载后执行
/// </summary>
public static class TesterEntry
{
    /// <summary>
    /// 热重载后 Ctrl+Shift+Q 执行
    /// </summary>
    [Conditional("UNITY_EDITOR")]
    public static void TestRun1()
    {
        LogGame.Log("TestRun1");
#if UNITY_EDITOR
        ManagerCenter.UI.ShowWindow<UITestWindow>();
#endif
    }

    /// <summary>
    /// 热重载后 Ctrl+Shift+W 执行
    /// </summary>
    [Conditional("UNITY_EDITOR")]
    public static void TestRun2()
    {
        LogGame.Log("TestRun2");
#if UNITY_EDITOR

#endif
    }

    /// <summary>
    /// 热重载后 Ctrl+Shift+E 执行
    /// </summary>
    [Conditional("UNITY_EDITOR")]
    public static void TestRun3()
    {
        LogGame.Log("TestRun3");
#if UNITY_EDITOR

#endif
    }

}
